package com.dzpk.gameserver.action.c2s;

import com.dzpk.gameserver.action.CommandEnum;
import com.dzpk.gameserver.module.player.Player;
import com.dzpk.gameserver.util.GameServerConstants;
import com.dzpk.gameserver.util.GameServerUtils;
import com.google.protobuf.InvalidProtocolBufferException;
import org.apache.mina.core.session.IoSession;
import somnus.net.action.AbstractAction;
import somnus.net.action.SynAction;
import somnus.net.message.IMessage;
public class C2S_PING_ALIVE extends AbstractAction {

    @Override
    public String getDesc() {
        return CommandEnum.C2S_PING_ALIVE.getDesc();
    }

    @Override
    public int getMessageId() {
        return CommandEnum.C2S_PING_ALIVE.getId();
    }

    @Override
    public void execute(IoSession session, IMessage message) throws InvalidProtocolBufferException {
        Player player = GameServerUtils.getSessionAttr(session, GameServerConstants.SIGN_SESSION_PLAYER);
    }
}
